package com.zw.pm.module.integrate.progress;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zw.pm.module.project.build.ProjectModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * @Description: 完成时间 model
 * @Author: China.sgl
 * @Date: 2019/12/6 08:42
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class ProgressModel extends ProjectModel {

    /**
     * 附加属性，用于查询条件和搜索结果
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date processStartTime;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date processPlanTime;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date processEndTime;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date produceStartTime;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date producePlanTime;
    private Integer consumeNum;
    private Integer notCompleteNum;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date produceEndTime;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date sprayStartTime;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date sprayPlanTime;
    private Integer sprayNum;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date sprayEndTime;
    private Integer packStatus;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date consumeEndTime;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date packEndTime;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date storeStartTime;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date storeEndTime;


    /**工艺铝模板/工艺铝被楞状态**/
    private Integer aftStatus;


    /**
     * 工艺工期单位天
     **/
    private Integer processDay;
    /**
     * 焊接工期单位天
     **/
    private Integer produceDay;
    /**
     * 喷涂工期
     **/
    private Integer sprayDay;
    /**
     * 搜索年
     **/
    private Integer year;
    /**
     * 警报字段
     **/
    private Integer topic;
    /**
     * 客户要求发货时间
     **/
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date shipTime;

    private String afFactory;


    /**
     * 排序字段
     **/
    private String sort;
    private String order;

}
